package com.kreedx.article.factory.pipeline;

import com.geccocrawler.gecco.pipeline.Pipeline;
import com.geccocrawler.gecco.spider.SpiderBean;

public abstract class BasePipeline<T extends SpiderBean> implements Pipeline<T> {
    @Override
    public void process(T t) {
        onCapture(t);
    }

    public abstract void onCapture(T t);
}
